package com.example.wtt.controller.dto;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

@Data
public class DynamicDTO {
    @Alias("userId")
    private Integer userId;
    @Alias("dynamicID")
    private Integer dynamicId;
    @Alias("用户名")
    private String username;
    @Alias("头像")
    private String avatarUrl;
    @Alias("dynamicUrl")
    private String dynamicUrl;
    @Alias("title")
    private String title;
    @Alias("collect")
    private Integer collect;
    @Alias("dynamicText")
    private String dynamicText;
    @Alias("commentText")
    private String commentText;
    @Alias("commentCreatTime")
    private Date commentCreateTime;
    @Alias("dynamicCreateTime")
    private Date dynamicCreateTime;
    @Alias("upvote")
    private Integer upvote;
    @Alias("userStatus")
    private Integer userStatus;
}
